home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / ezzcomm.zip / OMENMAIL.T < prev    next >
Text File  |  1991-02-16  |  1KB  |  35 lines

  1.  if !c return
  2.  : EZ-ZCOMM Copyright 1991 by Roger E. Hough, All Rights Reserved.
  3.  : Licensed for use at your own risk without fee. Altered versions,
  4.  : when distributed, must be clearly marked as altered and accompanied
  5.  : by the originals.
  6.  :
  7.  : Send an Outbound Omen Technology Mail File
  8.  : 1st line of file is the person to whom it is addressed
  9.  : Remainder of file is the memo
  10.  display inhibit;open -!g %item;display noinhibit
  11.  setc z0 \032;if !t goto mailinvd
  12.  grab z1;if !%z1||Iz0,z1||!t goto mailinvd
  13.  grab z3;if Iz0,z3||!t goto mailinvd
  14.  pat;put message\r
  15.  pat 0c "carefully???" y\r
  16.  pat 1c "to ask for customer support" n\r
  17.  pat 4i "leave a message? ";wait -f20
  18.  pat;put y;pat 0c "To " "@putv z1;put \r"
  19.  pat 1i "01:";wait -f30
  20. mailnext:
  21.  pat;if %z3 putv z3;put \r
  22.  else put " \r"
  23.  pat 0i \n;wait -f10
  24.  pat;pat 0i ":";wait -f10
  25.  grab z3;if t ife !Iz0,z3 goback mailnext;closetx
  26.  pat;put \r;pat 0i "Done?";wait -f10
  27.  pat;put y;pat 0i "Yam-Host(C):";wait -f30
  28.  del %item
  29.  return
  30. mailinvd:
  31.  echoc "Improper File - %item"
  32.  if t nolog closetx
  33.  del %item
  34.  return
  35.